package com.imooc.imoocbilibili.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 权限控制--角色页面菜单关联表
 * 
 * @author jl
 * @since 2022-04-10 19:24:02
 */
@Data
@TableName("t_auth_role_menu")
public class AuthRoleMenu implements Serializable {
	private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 角色id
     */
    private Long roleid;
    /**
     * 页面菜单id
     */
    private Long menuid;
    /**
     * 创建时间
     */
    private Date createtime;

    @TableField(exist = false)
    private AuthMenu authMenu;
}
